//
//  ZZDatePickerView.h
//  ZZKit
//
//  Created by 袁亮 on 16/5/12.
//  Copyright © 2016年 Migic_Z. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, TaskDateMode) {
    TaskDateModeOfStart,
    TaskDateModeOfEnd
};

@protocol ZZDatePickerViewDelegate <NSObject>

-(void)didSelectDatePickerWithMode:(TaskDateMode)mode date:(NSString *)date;

@end

@interface ZZDatePickerView : UIView

@property (nonatomic, assign) TaskDateMode mode;

+ (ZZDatePickerView *)sharedPicker;

- (void)showPickerWithMode:(TaskDateMode)mode delegate:(id<ZZDatePickerViewDelegate>)delegate;

@end
